package com.kangyi.user.mapper;

import com.kangyi.entity.UserComplaint;
import com.kangyi.enumeration.OperationType;
import com.kangyi.user.annotation.AutoFill;
import com.kangyi.vo.UserComplaintVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface UserComplaintMapper {


    @AutoFill(value = OperationType.INSERT)
    void feedback(UserComplaint userComplaint);

    List<UserComplaintVO> inquiryFeedBack(Integer userId);
}
